<%@page import="com.szhx.zy.bean.Page"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

		  <ul class="ce hao">

        <c:if test="${not empty smenu }">

            <c:forEach items="${smenu}" var="menu" varStatus="status">

                <li>

                    <c:if test="${not empty menu.children}">

                        <a href="#">

                            <img class="more" src="${APP_PATH}/images/more1.png" /> ${menu.name}



                        </a>



                        <ul class="er">

                            <c:forEach items="${menu.children}" var="childmenu">

                                <li class="e_li">

                                    <c:if test="${not empty childmenu.children}">

                                        <li>

                                            <a href="#">

                                                <img class="more" src="${APP_PATH}/images/more1.png" /> ${childmenu.name}

                                            </a>



                                            <ul class="thr er">

                                                <c:forEach items="${childmenu.children}" var="grandchildmenu">

                                                    <li>

                                                        <a href="${APP_PATH}/${grandchildmenu.url}">${grandchildmenu.name}</a>



                                                    </li>

                                                </c:forEach>

                                            </ul>

                                        </li>

                                    </c:if>

                                    <c:if test="${empty childmenu.children}">

                                        <a href="${APP_PATH}/${childmenu.url}">

                                            ${childmenu.name}</a>

                                    </c:if>

                                </li>

                            </c:forEach>

                        </ul>

                    </c:if>

                    <c:if test="${empty menu.children }">

                        <a href="${APP_PATH}/${menu.url}">

                           ${menu.name}</a>

                    </c:if>

                </li>

            </c:forEach>

        </c:if>

        <c:if test="${empty smenu }">

            <a href="#">

               ${smenu.name}</a>

        </c:if>

        <div class="clear"></div>

    </ul>
